/**
 * Copyright 2018
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package io.renren.common.utils;

/**
 * 系统参数相关Key
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.2.0 2017-03-26
 */
public class ConfigConstant {

	/**
	 * 腾讯验证码
	 */
	public final static String TENCENT_AID = "TENCENT_AID";
	public final static String TENCENT_APP_SECRET_KEY = "TENCENT_APP_SECRET_KEY";
	public final static String TENCENT_CAPTCHA_URL = "https://ssl.captcha.qq.com/ticket/verify";

	/**
	 * 微信登录
	 */
	public final static String WX_APPID = "WX_APPID";
	public final static String WX_APPSECRET = "WX_APPSECRET";
	public final static String WX_GET_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
	public final static String WX_GET_REFRESH_TOKEN = "https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=%s&grant_type=refresh_token&refresh_token=%s";
	public final static String WX_GET_USERINFO = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s";

	/**
	 * 最新版本号
	 */
	public final static String LAST_VERSION = "LAST_VERSION";

	/**
	 * 最新版本更新包下载URL
	 */
	public final static String DOWNLOAD_URL = "DOWNLOAD_URL";

	/**
	 * 网站
	 */
	public final static String WEB_PAGE = "WEB_PAGE";

	/**
	 * 推广信息文字
	 */
	public final static String REC_TEXT = "REC_TEXT";

	/**
	 * 云存储配置KEY
	 */
	public final static String CLOUD_STORAGE_CONFIG_KEY = "CLOUD_STORAGE_CONFIG_KEY";

	/**
	 * 短信接口用户名
	 */
	public final static String SMS_USER = "SMS_USER";

	/**
	 * 短信接口密码
	 */
	public final static String SMS_PWD = "SMS_PWD";

	/**
	 * 短信接口KEY
	 */
	public final static String SMS_VERY_CODE = "SMS_VERY_CODE";

	/**
	 * 推荐等级奖励配置KEY
	 */
	public final static String REC_LEVEL_ONE = "REC_LEVEL_ONE";
	public final static String REC_LEVEL_TWO = "REC_LEVEL_TWO";
	public final static String REC_LEVEL_THREE = "REC_LEVEL_THREE";

	/**
	 * 推广奖励用户等级限制配置KEY
	 */
	public final static String ENABLE_LEVEL_ONE = "ENABLE_LEVEL_ONE";
	public final static String ENABLE_LEVEL_TWO = "ENABLE_LEVEL_TWO";
	public final static String ENABLE_LEVEL_THREE = "ENABLE_LEVEL_THREE";

	/**
	 * 交易手续费
	 */
	public final static String TRANS_FEE = "TRANS_FEE";

	/**
	 * 第三方充值地址
	 */
	public final static String THIRD_PAYMENT_URL = "THIRD_PAYMENT_URL";

	/**
	 * 第三方充值商家ID
	 */
	public final static String THIRD_PAYMENT_ID = "THIRD_PAYMENT_ID";

	/**
	 * 第三方充值商家秘钥
	 */
	public final static String THIRD_PAYMENT_KEY = "THIRD_PAYMENT_KEY";

	/**
	 * 充值自动审核通过 0:否 1:是
	 */
	public final static String AUTO_PASS_DEPOSIT = "AUTO_PASS_DEPOSIT";

	/**
	 * 提现自动审核通过 0:否 1:是
	 */
	public final static String AUTO_PASS_WITHDRAW = "AUTO_PASS_WITHDRAW";

	/**
	 * 用户创建VIP房间时默认中雷赔率
	 */
	public final static String LANDMINE_RETURN_RATES = "LANDMINE_RETURN_RATES";

	/**
	 * 最近N条记录最大中雷概率
	 */
	public final static String LANDMINE_RATE_MAX = "LANDMINE_RATE_MAX";

	/**
	 * 最近N条记录
	 */
	public final static String LANDMINE_RATE_BASE = "LANDMINE_RATE_BASE";

	/**
	 * 启用支付宝 0:禁用 1:启用
	 */
	public final static String ENABLE_ALIAPY_PAYMENT = "ENABLE_ALIAPY_PAYMENT";

	/**
	 * 启用微信支付 0:禁用 1:启用
	 */
	public final static String ENABLE_WECHAT_PAYMENT = "ENABLE_WECHAT_PAYMENT";

	/**
	 * 启用银联支付 0:禁用 1:启用
	 */
	public final static String ENABLE_UNIONPAY_PAYMENT = "ENABLE_UNIONPAY_PAYMENT";

	/**
	 * 启用支付宝 0:禁用 1:启用
	 */
	public final static String ENABLE_ALIAPY_WITHDRAW = "ENABLE_ALIAPY_WITHDRAW";

	/**
	 * 启用微信支付 0:禁用 1:启用
	 */
	public final static String ENABLE_WECHAT_WITHDRAW = "ENABLE_WECHAT_WITHDRAW";

	/**
	 * 启用银联支付 0:禁用 1:启用
	 */
	public final static String ENABLE_UNIONPAY_WITHDRAW = "ENABLE_UNIONPAY_WITHDRAW";

	/**
	 * 最低充值金额
	 */
	public final static String LOWEST_DEPOSIT_AMOUNT = "LOWEST_DEPOSIT_AMOUNT";

	/**
	 * 最低提现金额
	 */
	public final static String LOWEST_WITHDRAW_AMOUNT = "LOWEST_WITHDRAW_AMOUNT";

	/**
	 * 最高充值金额
	 */
	public final static String HIGHEST_DEPOSIT_AMOUNT = "HIGHEST_DEPOSIT_AMOUNT";

	/**
	 * 提现手续费
	 */
	public final static String WITHDRAW_FEE = "WITHDRAW_FEE";

	/**
	 * 红包有效期(分钟)
	 */
	public final static String PACKET_EXPIRE = "PACKET_EXPIRE";

	/**
	 * 机器人自动发 0:否 1:是
	 */
	public final static String ENABLE_ROBOT_SEND = "ENABLE_ROBOT_SEND";

	/**
	 * 机器人自动抢 0:否 1:是
	 */
	public final static String ENABLE_ROBOT_GRAB = "ENABLE_ROBOT_GRAB";

	/**
	 * 创建房间条件 格式(直推会员,直推会员发包金额,最小发包,最大发包)
	 */
	public final static String CREATE_ROOM_LEVEL = "CREATE_ROOM_LEVEL";

	/**
	 * 房间管理员佣金
	 */
	public final static String ROOM_COMMISSION = "ROOM_COMMISSION";

	/**
	 * 允许会员最大创建房间数
	 */
	public final static String MAX_ROOM_COUNT = "MAX_ROOM_COUNT";

	/**
	 * 推荐人必填
	 */
	public final static String MUST_REC_PERSON = "MUST_REC_PERSON";

	/**
	 * 注册是否奖励
	 */
	public final static String REG_REWARD_PACKET = "REG_REWARD_PACKET";

	/**
	 * 注册送红包金额
	 */
	public final static String REG_REWARD_AMOUNT = "REG_REWARD_AMOUNT";

	/**
	 * 完全随机概率
	 */
	public final static String RANDOM_RATE = "RANDOM_RATE";

	/**
	 * 每日提现时间
	 */
	public final static String WITHDRAW_TIME = "WITHDRAW_TIME";
}
